from django.conf.urls.defaults import *
from django.contrib.auth.views import login, logout
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
                       (r'^accounts/login/$', login, {'template_name':'accounts/login.html'}),
                       (r'^accounts/logout/$', logout),
                       (r'^accounts/register/$', 'mylogs.accounts.views.register'),
                       (r'^mylog/$', 'mylogs.logs.views.mylog'),
    # Example:
    # (r'^mylogs/', include('mylogs.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # (r'^admin/', include(admin.site.urls)),
)
